<template>
<div>
  <div class="container">
    <div class="nav">
      <i class="iconfont icon-sousuo search"></i>
      <input type="text" placeholder="搜索" class="inp" />
      <i class="iconfont icon-gouwuche car"></i>
    </div>
  </div>  
</div>
  
</template>

<script>
export default {
  name: "HeadNav",
  components:{
  }
};
</script>

<style scoped>
.container {
  padding: 0;
  margin: 0;
}
.nav {
  height: 1rem;
  width: 100%;
  background-color: #FF6347;
  position: fixed;
  top: 0;
  left: 0;
}
.nav input {
  margin-top: 0.16rem;
  padding-left: 0.7rem;
  width: 75%;
  height: 0.6rem;
  border-radius: 8px;
  border: 1px solid rgb(238, 230, 230);
  font-size: 0.36;
}
.nav .search {
  position: absolute;
  left: 0.8rem;
  top: 0.28rem;
  font-size: 0.4rem;
}
.nav .car{
  position: absolute;
  top: 0.24rem;
  right: 0.01rem;
  font-size: 0.4rem;
}
.imgs {
  height: 0.4rem;
  width: 0.4rem;
}


</style>
